package com.guangyunl.c_staticutils;

public class Test01 {
    public static void main(String[] args) {
        int[] arr1 = {12, 3, 35, 58, 79, 2};
        int max = arr1[0];
        for (int i = 0; i < arr1.length; i++) {
            if(max < arr1[i]){
                max = arr1[i];
            }
        }
        System.out.println("max = " + max);
    }
}
/*
max = 79
 */